package com.eurake.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eurake.seckill.pojo.SeckillOrders;
import com.eurake.seckill.pojo.User;
import com.eurake.seckill.vo.SeckillOrdersVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chen
 * @since 2024-11-24
 */
public interface ISeckillOrdersService extends IService<SeckillOrders> {
    List<SeckillOrdersVo> findOrderByUserIdAndGoodsId(Long userId, Long goodsId);

    Long getResult(User user, Long goodsId);
}
